<%@page import="java.io.BufferedOutputStream"%>
<%@page import="java.io.File"%>
<%@page import="java.io.FileInputStream"%>
<%
response.setContentType("image/jpeg");
response.setHeader("Content-Transfer-Encoding", "binary");

String sourceImagePath = "C:/applications/소유.jpg";
String filename = new String(
		sourceImagePath.getBytes("ISO-8859-1"), "UTF-8");

FileInputStream fis = new FileInputStream(new File(filename));
BufferedOutputStream bos =
	new BufferedOutputStream(response.getOutputStream());

byte[] buf = new byte[1024];
int len = 0;
while ((len = fis.read(buf)) != -1) {
	bos.write(buf, 0, len);
}
bos.flush();

fis.close();
%>